package com.mxfcode.bbs_front.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @类名 TController
 * @描述 TODO
 * @作者 mxf
 * @创建日期 2020/12/29 15:59
 **/
@Controller
@RequestMapping("/testController")
public class TController {

    @ResponseBody
    @GetMapping("/test")
    public String test(){
        int 测试 = 1/0;
        return "success";
    }
}
